package tech.aistar.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import tech.aistar.model.pojo.Users;

import java.util.List;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/4/28 1:53 下午
 */
public interface UsersMapper {

    @Select("select * from t_users")
    List<Users> findAll();

    Users getById(Integer id);
}
